////////////////////////////////////////////////////////////////////////////////
//
// Licensed under the MIT License
//
// Copyright (c) 2008 Chris Colinsky
// All Rights Reserved
//
// version	0.4
// http://code.google.com/p/sugarcookie/
// http://code.google.com/p/sugarcookie/wiki/License
//
////////////////////////////////////////////////////////////////////////////////

class sugarcookie.collections.CursorBookmark extends Object {
	private var _marker:Object;
	private var _name:String;
	
	public function CursorBookmark (m:Object,n:String) {
		super();
		_marker = m!=undefined?m:null;
		_name = n!=undefined?n:"Bookmark";
	}
	
	public function get name():String {
		return _name;
	}
	
	public function set name(n:String):String {
		_name = n;
	}
	
	public function set marker(m:Object):Void {
		_marker = m;
	}
	
	public function get marker():Object {
		return _marker;
	}
	
	public function valueOf():Object {
		return _marker;
	}
}